﻿using System.ComponentModel;

namespace Silversocial.Client.Modules
{
    public class User : INotifyPropertyChanged
    {
        private string username;
        private string password;

        public event PropertyChangedEventHandler PropertyChanged = (s,p) => {};

        public string Username
        {
            get { return this.username; }
            set
            {
                this.username = value;
                this.PropertyChanged(this, new PropertyChangedEventArgs("Username"));
            }
        }

        public string Password
        {
            get { return this.password; }
            set
            {
                this.password = value;
                this.PropertyChanged(this, new PropertyChangedEventArgs("Password"));
            }
        }
    }
}
